namespace WebRtcProject.Models
{
    public class SignalingMessage
    {
        public string Type { get; set; } = string.Empty;
        public string From { get; set; } = string.Empty;
        public string To { get; set; } = string.Empty;
        public object? Data { get; set; }
        public DateTime Timestamp { get; set; } = DateTime.UtcNow;
    }

    public class WebRtcOffer
    {
        public string Sdp { get; set; } = string.Empty;
        public string Type { get; set; } = "offer";
    }

    public class WebRtcAnswer
    {
        public string Sdp { get; set; } = string.Empty;
        public string Type { get; set; } = "answer";
    }

    public class IceCandidate
    {
        public string Candidate { get; set; } = string.Empty;
        public string SdpMid { get; set; } = string.Empty;
        public int SdpMLineIndex { get; set; }
    }
} 